package com.westos.userauth.dao.mybatis;

import com.westos.userauth.domain.PartyRole;
import org.apache.ibatis.annotations.Mapper;


//卢梓浩
@Mapper
public interface PartyRoleDAO {
    //通过partyid删除party角色
    int deletePartyRoleByPartyId(String partyId);


    // 创建party的角色
    int insertPartyRole(PartyRole partyRole);

   //删除party角色
    int deletePartyRole(String roleTypeId);
    // 查询party角色通过roletypeid
    PartyRole queryPartyRoleById(String roleTypeId);
    // 查询party角色通过partyid
    PartyRole queryPartyRoleByPartyId(String partyId);
}
